package com.jyy.prefabricated.service;

import com.jyy.prefabricated.dto.CourseStudyTimeTecordDto;
import com.jyy.prefabricated.dto.StudentQuizDto;
import com.jyy.prefabricated.entity.StudentQuiz;
import com.jyy.prefabricated.vo.*;

import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

/**
 * 学生随堂考管理表(StudentQuiz)表服务接口
 *
 * @author makejava
 * @since 2021-10-11 13:49:01
 */
public interface CourseStudyTimeTecordService {



    /**
     * 列表
     *
     * @param dto
     * @return
     */
    List<CourseStudyTimeTecordVo> selectCourseStudyTimeTecord(CourseStudyTimeTecordDto dto);

    /**
     * 详情列表
     *
     * @param categoryId 主键
     * @return 单条数据
     */
    List<CoursePackageTecordVo> selectByCategoryIdAndTrainingOrganizationId(Integer studentId, Integer categoryId) throws IOException, NoSuchAlgorithmException;


    /**
     * 我的随堂考列表
     *
     * @param orderId
     * @return
     */
    List<StudentStudyTimeTecordVo> selectByOrderId(Integer orderId);


    List<StudentQuizRecordVo> selectQuizRecordByOrderId(Integer orderId);

}
